package cn.z2huo.knowledge.thinkinginjava.constructor;

/**
 * <p>
 *
 * @author z2huo
 */
class StaticInitialization {

    public static void main(String[] args) {
        System.out.println("creating new Cupboard() in main");
        new Cupboard();
        System.out.println("creating new Cupboard() in main");
        new Cupboard();
        table.f2(1);
        cupboard.f3(1);
    }

    static Table table = new Table();
    static Cupboard cupboard = new Cupboard();
}
